public class Test implements Runnable{
    public static void main(String[] args) {
        //Class.forName()

        /*   5 3 7 2 1 9 8 4
             s   j
             0   1
             1   2
             1   3
             3   4
             4   5
             4   6
             4   7
         */
        Test test = new Test();
        Thread thread1 = new Thread(test,"1");
        Thread thread2 = new Thread(test,"2");
        Thread thread3 = new Thread(test,"3");
        thread1.start();
        thread2.start();
        thread3.start();


    }

    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName());
    }
}
